package com.macro.mall.service;



import com.macro.mall.common.api.CommonResult;
import com.macro.mall.model.UmsMemberReceiveAddress;

import java.util.List;

public interface UmsMemberReceiveAddressService {
    /**
     * 收货地址
     */
    List<UmsMemberReceiveAddress> list();

    /**
     * 添加和修改
     */
    CommonResult addMember(UmsMemberReceiveAddress umsMemberReceiveAddress);
    /**
     * 回显
     */
    UmsMemberReceiveAddress byid(Long id);
    /**
     * 删除
     */
    int del(Long id);

    CommonResult update(UmsMemberReceiveAddress umsMemberReceiveAddress);

}
